TEMPLATE = lib
TARGET   = cvv.infrastructure.extension_system
QT      += core
DEFINES += EXTENSIONSYSTEM_LIBRARY
CONFIG   += c++14

header.files += *.h
header.path =$$PWD/../../cvvinfrastructure_build/includes/extension_system
INSTALLS += header

#include
INCLUDEPATH += $$PWD/../cvv.utils

HEADERS += \
    Invoker.h \
    Extensionsystem_Global.h \
    PluginManager.h \
    PluginManager_p.h \
    Reflect.h \
    PluginSpec.h \
    PluginSpec_p.h \
    IPlugin.h \
    AbstractPlugin.h


SOURCES += \
    Invoker.cpp \
    PluginManager.cpp \
    PluginSpec.cpp \
    IPlugin.cpp \
    AbstractPlugin.cpp

#配置输入路径
win32{
    CONFIG(debug, debug|release){

    }else{

    }
}

linux{
    CONFIG(debug, debug|release){

    }else{

    }
}

#配置输出路径
CONFIG(debug, debug|release){
    DESTDIR =     $$PWD/../../cvvinfrastructure_build/lib/Debug
    MOC_DIR =     $$PWD/../../cvvinfrastructure_build/moc/Debug
    RCC_DIR =     $$PWD/../../cvvinfrastructure_build/rcc/Debug
    UI_DIR =      $$PWD/../../cvvinfrastructure_build/ui/Debug
    OBJECTS_DIR = $$PWD/../../cvvinfrastructure_build/obj/Debug
}else{
    DESTDIR =     $$PWD/../../cvvinfrastructure_build/lib/Release
    MOC_DIR =     $$PWD/../../cvvinfrastructure_build/moc/Release
    RCC_DIR =     $$PWD/../../cvvinfrastructure_build/rcc/Release
    UI_DIR =      $$PWD/../../cvvinfrastructure_build/ui/Release
    OBJECTS_DIR = $$PWD/../../cvvinfrastructure_build/obj/Release
}
